Skip to content

Add BigInt column/attribute documentation#2972

Open
atharva-appwrite wants to merge 6 commits into
mainfrom
docs/add-bigint-support
Open

Add BigInt column/attribute documentation#2972
atharva-appwrite wants to merge 6 commits into
mainfrom
docs/add-bigint-support

Conversation

@atharva-appwrite
Copy link
Copy Markdown

Summary

  • Adds bigint to the column types table on the Tables docs page with description of 64-bit signed range and use cases
  • Adds a total_views bigint column example to all 11 SDK createTable code samples (Node.js, Deno, PHP, Python, Ruby, C#, Dart, Kotlin, Java, Swift, Rust)
  • Adds bigint to the legacy Collections attributes table
  • Notes bigint column compatibility on the Atomic numeric operations page
  • Adds a changelog entry (2026-05-06) describing BigInt support with quick-start examples for both TablesDB and legacy APIs

Covers the user-facing BigInt support added in appwrite/appwrite#11673.

Test plan

  • Verify the Tables docs page renders the updated column types table correctly
  • Verify all 11 SDK code examples in the createTable multicode block include the total_views bigint column
  • Verify the legacy Collections attributes table renders with the new bigint row
  • Verify the atomic-numeric-operations page mentions bigint
  • Verify the changelog entry at /changelog renders correctly

🤖 Generated with Claude Code

Cover the new 64-bit signed integer type added in appwrite#11673 across
TablesDB columns, legacy collection attributes, and atomic numeric
operations. Includes a changelog entry for discoverability.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@appwrite
Copy link
Copy Markdown

appwrite Bot commented May 6, 2026

Appwrite Website

Project ID: 69d7efb00023389e8d27

Sites (1)
Site Status Logs Preview QR
 website
69d7f2670014e24571ca
Building Building View Logs Preview URL QR Code

Website (appwrite/website)

Project ID: 684969cb000a2f6c0a02

Sites (1)
Site Status Logs Preview QR
 website
68496a17000f03d62013
Queued Queued View Logs Preview URL QR Code


Tip

SSR frameworks are fully supported with configurable build runtimes

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented May 6, 2026

Greptile Summary

This PR adds BigInt column documentation across Appwrite's databases pages, introduces an announcement blog post with 11-SDK code samples, and adds a changelog entry for the 2026-05-12 release.

  • tables/+page.markdoc: Adds a bigint row to the column types table with range details and inserts a total_views bigint column into every createTable SDK example.
  • Blog post: New announcing-bigint-columns post covering use cases, operators support, and per-SDK createBigIntColumn snippets; the Go snippet's option constructors call on the service instance instead of the package (compile error).
  • atomic-numeric-operations/+page.markdoc: One-line addition noting bigint works alongside integer and float with operators.

Confidence Score: 4/5

Safe to merge after fixing the Go snippet compile errors in the blog post and the image cache key extensions.

The blog post Go CreateBigIntColumn snippet calls option constructors on the service instance rather than the tablesdb package, which will not compile. Both Go code samples in the blog post share this bug.

src/routes/blog/post/announcing-bigint-columns/+page.markdoc — both Go snippets need the option constructor receiver corrected from the service instance to the tablesdb package.

Important Files Changed

Filename Overview
src/routes/blog/post/announcing-bigint-columns/+page.markdoc New BigInt announcement blog post with 11-SDK code samples; the Go CreateBigIntColumn snippet incorrectly calls option constructors on the service instance instead of the tablesdb package (compile error), and the UpdateRow Go snippet has the same issue (flagged separately in a prior review).
src/routes/docs/products/databases/tables/+page.markdoc Adds bigint column to all 11 createTable SDK examples and updates the column types table with range descriptions; changes look correct.
src/routes/changelog/(entries)/2026-05-12.markdoc New changelog entry for BigInt column support; content and links look correct.
src/routes/docs/products/databases/atomic-numeric-operations/+page.markdoc Adds one sentence noting bigint compatibility alongside integer and float; accurate and appropriate.
.optimize-cache.json Cache keys added for .png paths that don't exist on disk — the actual images are .avif (flagged in prior review).
src/routes/blog/author/arnab-chatterjee/+page.markdoc Updates author role from Engineering Intern to Platform Engineer; no issues.

Reviews (5): Last reviewed commit: "add faqs to bigint blog frontmatter" | Re-trigger Greptile

Comment thread src/routes/changelog/(entries)/2026-05-06.markdoc Outdated
Comment thread src/routes/blog/post/announcing-bigint-columns/+page.markdoc Outdated
Comment thread src/routes/blog/post/announcing-bigint-columns/+page.markdoc Outdated
Comment thread src/routes/blog/post/announcing-bigint-columns/+page.markdoc Outdated
Comment thread src/routes/blog/post/announcing-bigint-columns/+page.markdoc
Comment thread .optimize-cache.json
Comment on lines +1 to +11
---
layout: post
title: "Announcing BigInt columns: Store 64-bit integers for counters, IDs, and timestamps"
description: A new column type for values that overflow the 32-bit integer range, with the same constraints, defaults, and atomic operations you already use.
date: 2026-05-12
cover: /images/blog/announcing-bigint-columns/cover.avif
timeToRead: 5
author: arnab-chatterjee
category: announcement
featured: false
callToAction: true
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add FAQs

Comment on lines +420 to +422
service.WithCreateBigIntColumnMin(0),
service.WithCreateBigIntColumnMax(9223372036854775807),
service.WithCreateBigIntColumnDefault(0),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 The Go CreateBigIntColumn snippet calls With* option constructors on service (the tablesdb.TablesDB instance variable), but in Go, functional option constructors are package-level functions, not methods on a struct. This would fail to compile. The receiver should be the tablesdb package, consistent with how other Go SDK examples in this repo use these helpers.

Suggested change
service.WithCreateBigIntColumnMin(0),
service.WithCreateBigIntColumnMax(9223372036854775807),
service.WithCreateBigIntColumnDefault(0),
tablesdb.WithCreateBigIntColumnMin(0),
tablesdb.WithCreateBigIntColumnMax(9223372036854775807),
tablesdb.WithCreateBigIntColumnDefault(0),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants